import re
import time
import requests
import uuid

url_page = 'https://m.sj.enterdesk.com/bizhi/'
res = requests.get(url=url_page)
# print(res.text)
url_lst = re.findall(r'https://up.enterdesk.com/edpic_360_360.*?\.jpg',res.text)

for url in url_lst:
    res = requests.get(url=url)
    time.sleep(2)
    content = res.content
    name = str(uuid.uuid1())+'.jpg'
    with open(name, 'wb') as f:
        print('正在下载%s' % name)
        f.write(content)
